package com.bdqn.t382.dao;

import com.bdqn.t382.entity.Pet;
import org.springframework.stereotype.Repository;

@Repository("petDaoOracle")
public class PetDaoOracleImpl implements PetDao {
    @Override

    public int insert(Pet pet) {

        // 此处模拟插入数据，简化操作说明问题

        System.out.println("将宠物“" + pet.getName() + "”插入到 Oracle 数据库");

        return 1;

    }
}
